;------------------------------------------------------------------------------------------------
[wpn_toz34]:identity_immunities,weapon_probability,default_weapon_params,wpn_toz34_sounds
GroupControlSection                      = spawn_group
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\toz-34"
scheduled                                = off
cform                                    = skeleton

class                                    = WP_BM16
slot                                     = 2
animation_slot                           = 3
ef_main_weapon_type                      = 1
ef_weapon_type                           = 9
hand_dependence                          = 1
single_handed                            = 0

inv_grid_height                          = 1
inv_grid_width                           = 5
inv_grid_x                               = 25
inv_grid_y                               = 30
inv_name                                 = st_wpn_toz34
inv_name_short                           = st_wpn_toz34
description                              = st_wpn_toz34_descr

kind                                     = w_shotgun
inv_weight                               = 3.2
cost                                     = 14800
repair_type                              = shotgun
weapon_class                             = shotgun

hud                                      = wpn_toz34_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34.ogf
position                                 = -0.023, -0.14, 0.00
orientation                              = 0, 30, 0
fire_point                               = 0, 0.168, 0.755
fire_point2                              = 0, 0.168, 0.755
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_position                           = -0.26, -0.11, 0.15
strap_orientation                        = -15, -9, 110
ph_mass                                  = 3

flame_particles                          = weapons\generic_weapon05
smoke_particles                          = amik\weapons\smoke_particles\smoke_particles_pump_01

shell_point				                 = 0, 0.183, 0.07

light_color                              = 0.6, 0.5, 0.3
light_range                              = 6.0
light_time                               = 0.2
light_var_color                          = 0.05
light_var_range                          = 0.5

upgrades                                 = up_gr_firstab_toz34, up_gr_seconab_toz34, up_gr_thirdab_toz34
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_toz34
upgr_icon_x                              = 1450
upgr_icon_y                              = 550
upgr_icon_width                          = 300
upgr_icon_height                         = 50

tri_state_reload                         = off
ammo_class                               = ammo_12x70_buck, ammo_12x70_buck_bad, ammo_12x70_buck_verybad, ammo_12x76_zhekan, ammo_12x76_zhekan_bad, ammo_12x76_zhekan_verybad, ammo_12x76_dart, ammo_12x76_dart_bad, ammo_12x76_dart_verybad, ammo_12x70_buck_self
ammo_elapsed                             = 2
ammo_mag_size                            = 2
startup_ammo                             = 10

scope_status                             = 0
scope_zoom_factor                        = 0

silencer_status                          = 0

grenade_launcher_status                  = 0

hit_impulse                              = 40
hit_power                                = 0.8, 0.8, 0.8, 0.8
hit_type                                 = fire_wound
fire_distance                            = 400
bullet_speed                             = 370
rpm                                      = 1000
rpm_empty_click                          = 200

zoom_dof                                 = 0.5, 1.0, 180
zoom_enabled                             = true
control_inertion_factor = 1.0f
crosshair_inertion                       = 7.3
fire_dispersion_base                     = 0.35
fire_dispersion_condition_factor         = 0.001

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.88
misfire_start_prob                       = 0.007
misfire_end_condition                    = 0.12
misfire_end_prob                         = 0.11

condition_queue_shot_dec                 = 0.0019
condition_shot_dec                       = 0.0025

cam_return                               = 0
cam_relax_speed                          = 5.0
cam_dispersion                           = 5.84
cam_dispersion_frac                      = 0.9
cam_dispersion_inc                       = 4.48
cam_max_angle                            = 50.0
cam_max_angle_horz                       = 50.0
cam_step_angle_horz                      = 1.0
zoom_cam_relax_speed                     = 5.0
zoom_cam_dispersion                      = 5.04
zoom_cam_dispersion_frac                 = 0.7
zoom_cam_dispersion_inc                  = 4.98
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 1.0

PDM_disp_accel_factor                    = 1.955
PDM_disp_base                            = 1.85
PDM_disp_crouch                          = 1.0
PDM_disp_crouch_no_acc                   = 1.0
PDM_disp_vel_factor                      = 1.95

cam_relax_speed_ai                       = 360
zoom_cam_relax_speed_ai                  = 120.75
holder_fov_modifier                      = 1.0
holder_range_modifier                    = 1.0
min_radius                               = 0
max_radius                               = 500
hit_probability_gd_novice                = 1.00
hit_probability_gd_stalker               = 1.00
hit_probability_gd_veteran               = 1.00
hit_probability_gd_master                = 1.00

kill_msg_x                               = 127
kill_msg_y                               = 82
kill_msg_width                           = 97
kill_msg_height                          = 23


[wpn_toz34_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

item_position                            = 0, 0, 0
item_orientation                         = 0, 0, 0

hands_position                           = -0.1475, -0.15, 0.01
hands_position_16x9                      = -0.1475, -0.15, 0.01
hands_orientation                        = 2, 2, 0
hands_orientation_16x9                   = 2, 2, 0

aim_hud_offset_pos                       = -0.080995, 0.073, -0.1
aim_hud_offset_pos_16x9                  = -0.080995, 0.073, -0.1
aim_hud_offset_rot                       = 0.0364, 0.0349, 0.001
aim_hud_offset_rot_16x9                  = 0.0364, 0.0349, 0.001

anm_hide                                 = toz34_holster
anm_hide_0                               = toz34_holster
anm_hide_1                               = toz34_holster
anm_hide_2                               = toz34_holster
anm_idle                                 = toz34_idle
anm_idle_0                               = toz34_idle
anm_idle_1                               = toz34_idle
anm_idle_2                               = toz34_idle
anm_idle_aim                             = toz34_idle_aim
anm_idle_aim_0                           = toz34_idle_aim
anm_idle_aim_1                           = toz34_idle_aim
anm_idle_aim_2                           = toz34_idle_aim
anm_idle_aim_moving                      = toz34_idle_moving, idle, 0.75
anm_idle_aim_moving_crouch               = toz34_idle_moving, idle, 0.7
anm_idle_moving                          = toz34_idle_moving
anm_idle_moving_0                        = toz34_idle_moving
anm_idle_moving_1                        = toz34_idle_moving
anm_idle_moving_2                        = toz34_idle_moving
anm_idle_moving_crouch                   = toz34_idle_crouch
anm_idle_moving_crouch_0                 = toz34_idle_crouch
anm_idle_moving_crouch_1                 = toz34_idle_crouch
anm_idle_moving_crouch_2                 = toz34_idle_crouch
anm_idle_sprint                          = toz34_idle_sprint
anm_idle_sprint_0                        = toz34_idle_sprint
anm_idle_sprint_1                        = toz34_idle_sprint
anm_idle_sprint_2                        = toz34_idle_sprint
anm_reload_1                             = toz34_reload_l, reload_l
anm_reload_2                             = toz34_reload_lr, reload_lr
anm_shot_1                               = toz34_shoot, shoot
anm_shot_2                               = toz34_shoot, shoot
anm_show                                 = toz34_draw
anm_show_0                               = toz34_draw
anm_show_1                               = toz34_draw
anm_show_2                               = toz34_draw

shell_bone                               = wpn_body
shell_dir                                = 0, 1, 0
shell_point                              = 0, 0, 0

fire_bone                                = muzzle
fire_point                               = 0, 0, 0

freelook_z_offset_mul					 = 0.4

;------------------------------------------------------------------------------------------------
[wpn_toz34_bull]:wpn_toz34
inv_grid_y                               = 31
inv_name                                 = st_wpn_toz34_bull
inv_name_short                           = st_wpn_toz34_bull
description                              = st_wpn_toz34_bull_descr

inv_weight                               = 3.9
cost                                     = 98950

hud                                      = wpn_toz34_bull_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34_bull.ogf

flame_particles                          = weapons\generic_weapon05
smoke_particles                          = amik\weapons\smoke_particles\smoke_particles_pump_01

upgrades                                 =
installed_upgrades                       =
upgrade_scheme                           =

ammo_class                               = ammo_12x76_bull
ammo_elapsed                             = 2
ammo_mag_size                            = 2

hit_impulse                              = 100
hit_power                                = 1, 1, 1, 1
fire_distance                            = 500
bullet_speed                             = 450
rpm                                      = 200

fire_dispersion_base                     = 0.3

misfire_start_condition                  = 0.7 ;  0.78
misfire_start_prob                       = 0.003
misfire_end_condition                    = 0.09
misfire_end_prob                         = 0.02

condition_queue_shot_dec                 = 0.002
condition_shot_dec                       = 0.0025

cam_return                               = 0
cam_relax_speed                          = 20
cam_dispersion                           = 7.6
cam_dispersion_frac                      = 1.0
cam_dispersion_inc                       = 5.0
cam_max_angle                            = 90.0
cam_max_angle_horz                       = 94.0
cam_step_angle_horz                      = 3.3
zoom_cam_dispersion                      = 6.0
zoom_cam_dispersion_frac                 = 1.0
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 2.5

cam_relax_speed_ai                       = 360

snd_shoot                                = weapons\rpg7\rpg7_shot


[wpn_toz34_bull_hud]:wpn_toz34_hud
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_bull_hud.ogf

aim_hud_offset_pos                       = -0.0803,0.0433,-0.1
aim_hud_offset_pos_16x9                  = -0.0803,0.0433,-0.1

;------------------------------------------------------------------------------------------------
[wpn_toz34_custom]:wpn_toz34
inv_grid_y                               = 32
inv_name                                 = st_wpn_toz34_custom
inv_name_short                           = st_wpn_toz34_custom

cost                                     = 16680

hud                                      = wpn_toz34_sk2_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34_sk2.ogf

installed_upgrades                       = up_secona_toz34

rpm                                      = 1200

fire_dispersion_base                     = 0.429

misfire_start_condition                  = 0.7 ;  0.8
misfire_start_prob                       = 0.003
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.02

condition_queue_shot_dec                 = 0.0020
condition_shot_dec                       = 0.0026


[wpn_toz34_sk2_hud]:wpn_toz34_hud
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_sk2_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_toz34_decor]:wpn_toz34
inv_grid_y                               = 31
inv_name                                 = st_wpn_toz34_decor
inv_name_short                           = st_wpn_toz34_decor

cost                                     = 18550

hud                                      = wpn_toz34_sk1_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34_sk1.ogf

installed_upgrades                       = up_firsta_toz34

rpm                                      = 1100

fire_dispersion_base                     = 0.405

misfire_start_condition                  = 0.7 ;  0.78
misfire_start_prob                       = 0.003
misfire_end_condition                    = 0.09
misfire_end_prob                         = 0.02

condition_queue_shot_dec                 = 0.0022
condition_shot_dec                       = 0.0028


[wpn_toz34_sk1_hud]:wpn_toz34_hud
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_toz34_mark4]:wpn_toz34
inv_grid_height                          = 2
inv_grid_width                           = 5
inv_grid_x                               = 35
inv_grid_y                               = 30
inv_name                                 = st_wpn_toz34_mark4
inv_name_short                           = st_wpn_toz34_mark4
description                              = st_wpn_toz34_mark4_descr

cost                                     = 36860

hud                                      = wpn_toz34_mark4_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34_mark4.ogf

scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_findot
scope_zoom_factor                        = 20

hit_power                                = 0.82, 0.82, 0.82, 0.82
bullet_speed                             = 390
rpm                                      = 800

zoom_enabled                             = true
zoom_rotate_time                         = 0.25
fire_dispersion_base                     = 0.36

misfire_start_condition                  = 0.7 ;  0.76
misfire_start_prob                       = 0.003
misfire_end_condition                    = 0.08
misfire_end_prob                         = 0.02

condition_queue_shot_dec                 = 0.0025
condition_shot_dec                       = 0.0031


[wpn_toz34_mark4_hud]:wpn_toz34_hud
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_mark4_hud.ogf

aim_hud_offset_pos                       = -0.08085, 0.02, -0.1
aim_hud_offset_pos_16x9                  = -0.08085, 0.02, -0.1

;------------------------------------------------------------------------------------------------
[wpn_toz34_obrez]:wpn_toz34,wpn_toz34_obrez_sounds
inv_grid_height                          = 1
inv_grid_width                           = 3
inv_grid_x                               = 44
inv_grid_y                               = 55
inv_name                                 = st_wpn_toz34_obrez
inv_name_short                           = st_wpn_toz34_obrez
description                              = st_wpn_toz34_obrez_descr

inv_weight                               = 2.1
cost                                     = 9860

hud                                      = wpn_toz34_obrez_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34_obrez.ogf

upgrades                                 = up_gr_firstab_toz34_obrez, up_gr_seconab_toz34_obrez, up_gr_thirdab_toz34_obrez
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_bm16

hit_impulse                              = 30
hit_power                                = 0.77, 0.77, 0.77, 0.77
fire_distance                            = 300
bullet_speed                             = 300
rpm                                      = 1200

control_inertion_factor = 1.0f
crosshair_inertion                       = 4.5
fire_dispersion_base                     = 0.712

misfire_start_condition                  = 0.7 ;  0.7
misfire_start_prob                       = 0.007
misfire_end_condition                    = 0.05
misfire_end_prob                         = 0.11

condition_queue_shot_dec                 = 0.0020
condition_shot_dec                       = 0.0026

cam_dispersion                           = 9.6
zoom_cam_dispersion                      = 9.0


[wpn_toz34_obrez_hud]:wpn_toz34_hud
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_obrez_hud.ogf

aim_hud_offset_pos                       = -0.08098, 0.073, -0.05
aim_hud_offset_pos_16x9                  = -0.08098, 0.073, -0.05
aim_hud_offset_rot                       = 0.03685, 0.0349, 0.0011
aim_hud_offset_rot_16x9                  = 0.03685, 0.0349, 0.0011

;------------------------------------------------------------------------------------------------
[wpn_toz34_obrez_custom]:wpn_toz34_obrez
inv_grid_y                               = 57
inv_name                                 = st_wpn_toz34_obrez_custom
inv_name_short                           = st_wpn_toz34_obrez_custom

cost                                     = 12690

hud                                      = wpn_toz34_obrez_sk2_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34_obrez_sk2.ogf

rpm                                      = 1200

fire_dispersion_base                     = 0.684

misfire_start_condition                  = 0.7 ;  0.7
misfire_start_prob                       = 0.003
misfire_end_condition                    = 0.045
misfire_end_prob                         = 0.02

condition_queue_shot_dec                 = 0.0022
condition_shot_dec                       = 0.0028


[wpn_toz34_obrez_sk2_hud]:wpn_toz34_obrez_hud
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_obrez_sk2_hud.ogf

aim_hud_offset_pos                       = -0.08098, 0.073, -0.05
aim_hud_offset_pos_16x9                  = -0.08098, 0.073, -0.05
aim_hud_offset_rot                       = 0.03685, 0.0349, 0.001
aim_hud_offset_rot_16x9                  = 0.03685, 0.0349, 0.001

;------------------------------------------------------------------------------------------------
[wpn_toz34_obrez_decor]:wpn_toz34_obrez
inv_grid_y                               = 56
inv_name                                 = st_wpn_toz34_obrez_decor
inv_name_short                           = st_wpn_toz34_obrez_decor

cost                                     = 13880

hud                                      = wpn_toz34_obrez_sk1_hud
visual                                   = dynamics\weapons\wpn_toz34\wpn_toz34_obrez_sk1.ogf

installed_upgrades                       = up_firsta_toz34_obrez

rpm                                      = 1100

fire_dispersion_base                     = 0.65

misfire_start_condition                  = 0.7 ;  0.66
misfire_start_prob                       = 0.003
misfire_end_condition                    = 0.04
misfire_end_prob                         = 0.02

condition_queue_shot_dec                 = 0.0024
condition_shot_dec                       = 0.003


[wpn_toz34_obrez_sk1_hud]:wpn_toz34_obrez_hud
item_visual                              = anomaly_weapons\wpn_toz34\wpn_toz34_obrez_sk1_hud.ogf

aim_hud_offset_pos                       = -0.08098, 0.073, -0.05
aim_hud_offset_pos_16x9                  = -0.08098, 0.073, -0.05
aim_hud_offset_rot                       = 0.03685, 0.0349, 0.001
aim_hud_offset_rot_16x9                  = 0.03685, 0.0349, 0.001